package com.yunfeng.common.service;

import java.util.List;

import com.yunfeng.common.entity.impl.Organization;
import com.yunfeng.common.exception.ServiceException;
import com.yunfeng.common.util.Page;

public interface OrganizationService {

	List<Organization> find(Long parentId, Page page);

	List<Organization> find(Long parentId, String name, Page page);

	Organization getTree();

	void save(Organization organization);

	Organization get(Long id);

	void update(Organization organization);

	void delete(Long id) throws ServiceException;
}
